package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Myview entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Myview implements java.io.Serializable {

	// Fields

	private Integer vid;
	private Persion persion;
	private Myview myview;
	private String vtype;
	private String vname;
	private String vpath;
	private Set myviews = new HashSet(0);

	// Constructors

	/** default constructor */
	public Myview() {
	}

	/** minimal constructor */
	public Myview(String vtype) {
		this.vtype = vtype;
	}

	/** full constructor */
	public Myview(Persion persion, Myview myview, String vtype, String vname,
			String vpath, Set myviews) {
		this.persion = persion;
		this.myview = myview;
		this.vtype = vtype;
		this.vname = vname;
		this.vpath = vpath;
		this.myviews = myviews;
	}

	// Property accessors

	public Integer getVid() {
		return this.vid;
	}

	public void setVid(Integer vid) {
		this.vid = vid;
	}

	public Persion getPersion() {
		return this.persion;
	}

	public void setPersion(Persion persion) {
		this.persion = persion;
	}

	public Myview getMyview() {
		return this.myview;
	}

	public void setMyview(Myview myview) {
		this.myview = myview;
	}

	public String getVtype() {
		return this.vtype;
	}

	public void setVtype(String vtype) {
		this.vtype = vtype;
	}

	public String getVname() {
		return this.vname;
	}

	public void setVname(String vname) {
		this.vname = vname;
	}

	public String getVpath() {
		return this.vpath;
	}

	public void setVpath(String vpath) {
		this.vpath = vpath;
	}

	public Set getMyviews() {
		return this.myviews;
	}

	public void setMyviews(Set myviews) {
		this.myviews = myviews;
	}

}